package com.cy.ppj.model.ao.withdraw;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 提现申请字段
 * @author: tanyilin
 * @create: 2018年8月3日 下午6:02:36
 */
@Data
@ApiModel("提现申请字段")
public class WithdrawApplyAO {

	@ApiModelProperty(value = "交易金额", example = "0.00", required = true)
	@NotNull(message = "金额不可为空")
    private BigDecimal amount;

	@ApiModelProperty(value = "提现手续费", example = "0.00", required = true)
	@NotNull(message = "提现手续费不可为空")
	private BigDecimal feeAmount;
	
	@ApiModelProperty(value = "银行预留手机号码", required = true)
	@NotEmpty(message = "手机号码不可为空")
	private String bankMobile;
	
	@ApiModelProperty(value = "验证码", required = true)
	@NotEmpty(message = "验证码不可为空")
	private String code;
}
